package com.jqr.activity.lifecycledemo;

import android.util.Log;

import androidx.lifecycle.LifecycleService;

public class MyLocationService  extends LifecycleService {

    public MyLocationService(){
        Log.d("TAG","MyLocationService");
        MyLocationObserver observer=new MyLocationObserver(this);
        getLifecycle().addObserver(observer);
    }
}
